import java.util.Scanner;
public class TestCode {



    public static void main(String[] args) {
        //课堂代码练习
        Scanner scanner = new Scanner(System.in);//调用
        int str = scanner.nextInt();




    }

    public static void main7(String[] args) {
    //课堂代码练习
        String str = "don't love you";
        switch(str) {
            case "love you":
                System.out.println("l love you,too");
                break;
            case "don't love you":
                System.out.println("I'm sorry,you're a good boy");
                break;
            default:
                System.out.println("you unger");
        }

    }

    public static void main6(String[] args) {
    //课堂代码联系
        boolean flag1=true==true?true:true==false?false:false;
        System.out.println(flag1);
        boolean flag2=false==true?true:true==false?false:false;
        System.out.println(flag2);

        //左移、右移
        int a=7;
        System.out.println(a<<1);
        System.out.println(a<<2);
        System.out.println(a>>1);
        System.out.println(a>>>1);
        int b=-1;
        System.out.println(b>>1);
        System.out.println(a>>2);//符号右移，右边丢弃，左边补符号位
        System.out.println(b>>>1);//无符号右移，右边丢弃，左边补1

    }


    public static void main5(String[] args) {
        //计算1-100中9出现的次数
        int i=1;
        int sum=0;
        while(i<=100) {
            //判断个位是否为9
            if(i%10==9) {
                sum++;
            }
            //判断十位是否为9
            if(i/10==9) {
                sum++;
            }
            i++;
        }
        System.out.println(sum);
    }
    public static void main4(String[] args) {
     //判断闰年
        int year=1000;
        while(year<=2000) {
            if((year%400==0)||(year%4==0&&year%100!=0)) {
                System.out.println(year);
            }
            year++;
        }
    }
    public static void main3(String[] args) {
        //打印1-100之间的素数
        int i = 2;
        //循环2-100
        while (i <= 100) {
            int ret = 2;
            //用来试除
            while (ret < i) {
                if (i % ret == 0) {
                    break;
                }
                ret++;
            }
            if (ret == i) {
                System.out.println(i);
            }
            i++;
        }
    }
    public static void main2(String[] args) {
        //判断是否为素数
        int ret=6;
        int i=2;
        boolean bool=true;
        while(i<ret) {

            if(ret%i==0) {
                System.out.println(ret+"不是素数");
                bool=false;
                break;
            }
            i++;
        }
        if(bool) {
            System.out.println(ret+"是素数");
        }

    }


    public static void main1(String[] args){

        System.out.println(!true);
        int a = 10;
        int b = 20;
        System.out.println(a<20&&b>10);
        System.out.println(a<10&&b>10);
        System.out.println(a<20&&b>110);
        System.out.println(a==20&&b==10);

    }




}
